<!DOCTYPE html>
<html>
<head><meta name="generator" content="Hexo 3.8.0">
  <meta charset="utf-8">
  
  <title>WSL笔记 | gdme1320 的笔记</title>
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
  <meta name="description" content="Table of Contents   Windows Subsystem for Linux FAQ (Ubuntu 18.04)  Reset Password 重置密码 Restart WSL 重启 SSH Service 解决误删除wsl目录后无法再次安装       Windows Subsystem for Linux FAQ (Ubuntu 18.04)    Reset Pa">
<meta property="og:type" content="article">
<meta property="og:title" content="WSL笔记">
<meta property="og:url" content="http://gdme1320.gitee.com/windows/wsl/index.html">
<meta property="og:site_name" content="gdme1320 的笔记">
<meta property="og:description" content="Table of Contents   Windows Subsystem for Linux FAQ (Ubuntu 18.04)  Reset Password 重置密码 Restart WSL 重启 SSH Service 解决误删除wsl目录后无法再次安装       Windows Subsystem for Linux FAQ (Ubuntu 18.04)    Reset Pa">
<meta property="og:locale" content="default">
<meta property="og:updated_time" content="2022-03-23T09:59:29.204Z">
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="WSL笔记">
<meta name="twitter:description" content="Table of Contents   Windows Subsystem for Linux FAQ (Ubuntu 18.04)  Reset Password 重置密码 Restart WSL 重启 SSH Service 解决误删除wsl目录后无法再次安装       Windows Subsystem for Linux FAQ (Ubuntu 18.04)    Reset Pa">
  
    <link rel="alternate" href="/atom.xml" title="gdme1320 的笔记" type="application/atom+xml">
  
  
  
    <link href="//fonts.googleapis.com/css?family=Source+Code+Pro" rel="stylesheet" type="text/css">
  

  <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7" crossorigin="anonymous">

  <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css" integrity="sha384-XdYbMnZ/QjLh6iI4ogqCTaIjrFk87ip+ekIjefZch0Y+PvJ8CDYtEs1ipDmPorQ+" crossorigin="anonymous">

  <link rel="stylesheet" href="/css/styles.css">
  <link rel="stylesheet" href="/css/docs.min.css">
  

</head>
</html>
<body>
  <nav class="navbar navbar-inverse">
  <div class="container">
    <!-- Brand and toggle get grouped for better mobile display -->
    <div class="navbar-header">
      <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#main-menu-navbar" aria-expanded="false">
        <span class="sr-only">Toggle navigation</span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
      </button>
      
    </div>

    <!-- Collect the nav links, forms, and other content for toggling -->
    <div class="collapse navbar-collapse" id="main-menu-navbar">
      <ul class="nav navbar-nav">
        
          <li><a class href="/index.html">Home</a></li>
        
          <li><a class href="/archives/">Archives</a></li>
        
      </ul>

      <!--
      <ul class="nav navbar-nav navbar-right">
        
          <li><a href="/atom.xml" title="RSS Feed"><i class="fa fa-rss"></i></a></li>
        
      </ul>
      -->
    </div><!-- /.navbar-collapse -->
  </div><!-- /.container-fluid -->
</nav>

  <div class="container bs-docs-container">
  
    <div class="row">
        <div class="col-sm-8 blog-main">
          <article id="post-windows/wsl" class="article article-type-post" itemscope itemprop="blogPost">

  <header class="article-header">
    
  
    <h1 class="article-title" itemprop="name">
      WSL笔记
    </h1>
  


  </header>

  <div class="article-meta">
    <div class="article-datetime">
  <a href="/windows/wsl/" class="article-date"><time datetime="2022-03-23T09:59:29.204Z" itemprop="datePublished">2022-03-23</time></a>
</div>

    
    
  <div class="article-category">
    <a class="article-category-link" href="/categories/windows/">windows</a>
  </div>


  </div>
  <div class="article-inner">

    <div class="article-entry" itemprop="articleBody">
      
        
<div id="content">
<div id="table-of-contents">
<h2>Table of Contents</h2>
<div id="text-table-of-contents">
<ul>
<li><a href="#windows-subsystem-for-linux-faq-ubuntu-18.04">Windows Subsystem for Linux FAQ (Ubuntu 18.04)</a>
<ul>
<li><a href="#reset-password-重置密码">Reset Password 重置密码</a></li>
<li><a href="#restart-wsl-重启">Restart WSL 重启</a></li>
<li><a href="#ssh-service">SSH Service</a></li>
<li><a href="#org32b608a">解决误删除wsl目录后无法再次安装</a></li>
</ul>
</li>
</ul>
</div>
</div>
<div class="outline-2" id="outline-container-org804093f">
<h2 id="windows-subsystem-for-linux-faq-ubuntu-18.04"><a id="org804093f"></a>Windows Subsystem for Linux FAQ (Ubuntu 18.04)</h2>
<div class="outline-text-2" id="text-windows-subsystem-for-linux-faq-ubuntu-18.04">
</div>
<div class="outline-3" id="outline-container-org1898f32">
<h3 id="reset-password-重置密码"><a id="org1898f32"></a>Reset Password 重置密码</h3>
<div class="outline-text-3" id="text-reset-password-重置密码">
<blockquote>
<p>
<a href="https://askubuntu.com/questions/772050/reset-the-password-in-ubuntu-linux-bash-in-windows" target="_blank" rel="noopener">https://askubuntu.com/questions/772050/reset-the-password-in-ubuntu-linux-bash-in-windows</a>
</p>
</blockquote>
<ol class="org-ol">
<li>Close Bash on Ubuntu if it is running (or the next command will
fail).</li>
<li>Run cmd.exe with Administror user</li>
<li>=ubuntu config –default-user root=这条命令更改默认的登录用户为root。</li>
<li>再次打开bash，登录用户已经是root，然后=passwd user=。如果不是root登录的，上一步之后也许需要重启wsl服务。</li>
<li>密码重置之后，再用=ubuntu config –default-user user=，改回原来的默认账号。</li>
</ol>
<p>
WSL Ubuntu 18.04需要改用命令=ubuntu1804=。
</p>
<p>
如果重启wsl之后，仍然无法使用root账户登录，则尝试直接修改文件系统。WSL的文件存放在=%localappdata%\Packages\CanonicalGroupLimited.UbuntuonWindows_79rhkp1fndgsc\LocalState\rootfs\=，直接修改文件系统能解决很多问题，而不止是密码。
</p>
<p>
早期的WIN
10版本通过=lxrun=命令管理WSL(Beta)。从应用商店安装的WSL则使用=ubuntu=命令。
</p>
</div>
</div>
<div class="outline-3" id="outline-container-org6b55c1e">
<h3 id="restart-wsl-重启"><a id="org6b55c1e"></a>Restart WSL 重启</h3>
<div class="outline-text-3" id="text-restart-wsl-重启">
<p>
重启=LxssManager=服务，在服务管理器或进程管理器中。
</p>
</div>
</div>
<div class="outline-3" id="outline-container-org7749d72">
<h3 id="ssh-service"><a id="org7749d72"></a>SSH Service</h3>
<div class="outline-text-3" id="text-ssh-service">
<blockquote>
<p>
<a href="https://github.com/Microsoft/WSL/issues/612" target="_blank" rel="noopener">https://github.com/Microsoft/WSL/issues/612</a>
<a href="https://blog.saintic.com/blog/254.html" target="_blank" rel="noopener">https://blog.saintic.com/blog/254.html</a>
</p>
</blockquote>
<p>
wsl默认打开的命令行和Bash还是有所差别的，例如翻页键。还有的不兼容的地方，显示都乱了，例如Emacs。还有颜色模式，深蓝色根本看不清。
</p>
<p>
一个解决方案就是使用其他的Shell。Cygwin、XTerm、以前试过，还是有不兼容的。Mintty有专门的For
wsl版本，现在不知道怎么样了。
</p>
<p>
还有一种方案，使用ssh连接wsl，这种兼容性应该完美的，是我目前正在使用的方案。
</p>
<ol class="org-ol">
<li>安装sshd，wsl下安装openssh-server：=apt install openssh-server=</li>
<li>配置sshd.</li>
</ol>
<pre class="example">
Port 2222 # 监听端口需要改成与windows其他服务不冲突的
PasswordAuthentication yes # 开户密码授权
</pre>
<p>
然后测试，通过=sudo service ssh start=看看服务能否启动成功。WSL中还没有systemctl。如果Windows防火墙弹出，选择“允许”。在Windows上使用ssh客户端连接=ssh user@localhost -p 2222=。
</p>
<ol class="org-ol">
<li>以下为设置一键启动的方法，为了提升作用体验。如果每次开机都手工进行以上操作就太麻烦了，通过脚本解决所有问题。</li>
<li>The Key：启动sshd的脚本</li>
</ol>
<pre class="example">
bash.exe -c "sudo service ssh start"
</pre>
<p>
为了使这个脚本能自动执行而不用输入密码，需要给当前用户配置sudo。通过编辑``/etc/sudoers=来实现，使用命令=visudo```，将如下行添加到*适当*的地方。由于sudoers是有顺序的，要注意下行的位置，不能被覆盖了。
</p>
<pre class="example">
YOUR_USER     ALL=(ALL) NOPASSWD: /usr/sbin/service
</pre>
<p>
如果sudoers配置正确，我们自己手工输入=sudo servcice ssh start=就无须密码了，在脚本中也就不需要了。
</p>
<ol class="org-ol">
<li>开机启动</li>
</ol>
<p>
如果想开机启动wsl的sshd，则把脚本加入到Windows计划任务中。Windows Task
Scheduler, create new basic task with following settings: * Run: When
the computer starts * Action: Start a program * Program:
c:\Windows\system32\bash.exe * Arguments: -c "sudo service ssh start"
</p>
<p>
Test it by clicking on the Task Scheduler LIbrary, selecting your new
task and clicking Run on the right-hand side. A command prompt window
should open and remain open.
</p>
<p>
If you want to hide the window, I think you can tick the Hidden box in
the scheduled task properties.
</p>
<ol class="org-ol">
<li>一键启动</li>
</ol>
<p>
Create a vb script
</p>
<div class="org-src-container">
<pre class="src src-vbs">sub start_wsl()
    Set ws = WScript.CreateObject("WScript.Shell")
    cmd = "C:\Windows\System32\bash.exe -c ""sudo service ssh start"""
    '运行命令不显示cmd窗口
    ws.Run cmd, 0, false    
    Set ws = Nothing    
end sub

sub start_tty(cmd)
    dim objShell
	Set objShell = WScript.CreateObject("WScript.Shell")
	objShell.Run(cmd)
	Set objShell = Nothing
end sub

start_wsl
start_tty """C:\Program Files\Git\git-bash.exe"""
WScript.quit
</pre>
</div>
<p>
在这个脚本右键，选择发送到桌面快捷方式。也就是给它创建了个快捷方式。为了美观，右键这个快捷方式，为它选择一个图标。
</p>
<p>
把快捷方式复制到开始菜单所在目录，然后在开始菜单中找到它，选择固定到开始屏幕。
</p>
<p>
WIN10开始菜单的路径为=%APPDATA%\Microsoft\Windows\Start Menu\Programs=
</p>
</div>
</div>
<div class="outline-3" id="outline-container-org32b608a">
<h3 id="org32b608a">解决误删除wsl目录后无法再次安装</h3>
<div class="outline-text-3" id="text-org32b608a">
<blockquote>
<p>
<a href="https://www.reddit.com/r/bashonubuntuonwindows/comments/aqeu24/i_accidentally_deleted_my_installed_wsl_folder/" target="_blank" rel="noopener">https://www.reddit.com/r/bashonubuntuonwindows/comments/aqeu24/i_accidentally_deleted_my_installed_wsl_folder/</a>
</p>
</blockquote>
<p>
使用 wslconfig 命令
</p>
<p>
防墙：
</p>
<blockquote>
<p>
What version of Windows are you using? Do you have wslconfig.exe?
</p>
<p>
permalinkembedsavereportreply
</p>
<p>
[–]tenbuckscye[S] 1 point 4 hours ago 
</p>
<p>
The windows version is Version 1809 (OS Build 17763.253). Yes I do.
</p>
<p>
permalinkembedsaveparentreportreply
</p>
<p>
[–]benheliozWSL Developer 2 points 3 hours ago 
</p>
<p>
What is the output of "wslconfig /list"
</p>
<p>
You'll want to unregister the distro you deleted with "wslconfig /unregister"
</p>
<p>
permalinkembedsaveparentreportreply
</p>
<p>
[–]tenbuckscye[S] 1 point 3 hours ago 
</p>
<p>
That is done, I ran both commands and it said the Debian distro is uninstalled. Would that mean I can reinstall now?
</p>
<p>
permalinkembedsaveparentreportreply
</p>
<p>
[–]benheliozWSL Developer 2 points 3 hours ago 
</p>
<p>
Yep. Launch the Debian tile again and that should be it.
</p>
<p>
permalinkembedsaveparentreportreply
</p>
<p>
[–]tenbuckscye[S] 2 points 3 hours ago 
</p>
<p>
Awesome. Thanks so much!
</p>
<p>
permalinkembedsaveparentreportreply
</p>
<p>
[–]angellus 2 points 4 hours ago 
</p>
<p>
lxrun is for the legacy WSL install, it has been deprecated for almost a year now. You should not be using it anymore anyways.
</p>
<p>
<a href="https://docs.microsoft.com/en-us/windows/wsl/install-win10" target="_blank" rel="noopener">https://docs.microsoft.com/en-us/windows/wsl/install-win10</a>
</p>
<p>
<a href="https://docs.microsoft.com/en-us/windows/wsl/wsl-config" target="_blank" rel="noopener">https://docs.microsoft.com/en-us/windows/wsl/wsl-config</a>
</p>
<p>
permalinkembedsavereportreply
</p>
<p>
[–]tenbuckscye[S] 1 point 4 hours ago 
</p>
<p>
That's what I used to download my WSL. I used <a href="https://superuser.com/questions/1271682/is-there-a-way-of-installing-windows-subsystem-for-linux-on-win10-v1709-withou" target="_blank" rel="noopener">https://superuser.com/questions/1271682/is-there-a-way-of-installing-windows-subsystem-for-linux-on-win10-v1709-withou</a> more specifically because I do not have Windows store access on my computer.
</p>
<p>
permalinkembedsaveparentreportreply
</p>
</blockquote>
</div>
</div>
</div>
</div>
<div class="status" id="postamble">
<p class="author">Author: gdme1320</p>
<p class="validation"><a href="http://validator.w3.org/check?uri=referer" target="_blank" rel="noopener">Validate</a></p>
</div>

      
    </div>

    
      

    

    <footer class="article-footer">
      <a data-url="http://gdme1320.gitee.com/windows/wsl/" data-id="cl13eo7k90091hjv45vt0qkde" class="article-share-link">
        <i class="fa fa-share"></i> Share
      </a>
      
      

    </footer>
  </div>
  
    
<ul id="article-nav" class="nav nav-pills nav-justified">
  
  <li role="presentation">
    <a href="/linux/Ubuntu-How-Install-Package-Offline/" id="article-nav-older" class="article-nav-link-wrap">
      <i class="fa fa-chevron-left pull-left"></i>
      <span class="article-nav-link-title">Ubuntu离线环境安装软件包</span>
    </a>
  </li>
  
  
  <li role="presentation">
    <a href="/windows/ime-shortcut-setting/" id="article-nav-newer" class="article-nav-link-wrap">
      <span class="article-nav-link-title">Windows10中输入法快捷键设置</span>
      <i class="fa fa-chevron-right pull-right"></i>
    </a>
  </li>
  
</ul>


  
</article>




        </div>
        <div class="col-sm-3 col-sm-offset-1 blog-sidebar">
          
  
  <div class="sidebar-module">
    <h4>Categories</h4>
    <ul class="sidebar-module-list"><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/categories/apps/">apps</a><span class="sidebar-module-list-count">1</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/categories/architecture/">architecture</a><span class="sidebar-module-list-count">2</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/categories/devops/">devops</a><span class="sidebar-module-list-count">10</span><ul class="sidebar-module-list-child"><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/categories/devops/kubectl/">kubectl</a><span class="sidebar-module-list-count">2</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/categories/devops/kubernetes/">kubernetes</a><span class="sidebar-module-list-count">3</span></li></ul></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/categories/dotnet/">dotnet</a><span class="sidebar-module-list-count">3</span><ul class="sidebar-module-list-child"><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/categories/dotnet/entityframework/">entityframework</a><span class="sidebar-module-list-count">1</span></li></ul></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/categories/elasticsearch/">elasticsearch</a><span class="sidebar-module-list-count">4</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/categories/emacs/">emacs</a><span class="sidebar-module-list-count">4</span><ul class="sidebar-module-list-child"><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/categories/emacs/org-mode/">org-mode</a><span class="sidebar-module-list-count">3</span></li></ul></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/categories/git/">git</a><span class="sidebar-module-list-count">2</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/categories/graphql/">graphql</a><span class="sidebar-module-list-count">1</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/categories/groovy/">groovy</a><span class="sidebar-module-list-count">1</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/categories/java/">java</a><span class="sidebar-module-list-count">52</span><ul class="sidebar-module-list-child"><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/categories/java/concurrent/">concurrent</a><span class="sidebar-module-list-count">4</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/categories/java/jackson/">jackson</a><span class="sidebar-module-list-count">2</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/categories/java/shiro/">shiro</a><span class="sidebar-module-list-count">1</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/categories/java/spring/">spring</a><span class="sidebar-module-list-count">11</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/categories/java/spring-amqp/">spring-amqp</a><span class="sidebar-module-list-count">5</span><ul class="sidebar-module-list-child"><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/categories/java/spring-amqp/spring-jpa/">spring-jpa</a><span class="sidebar-module-list-count">1</span></li></ul></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/categories/java/spring-jpa/">spring-jpa</a><span class="sidebar-module-list-count">10</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/categories/java/spring-security/">spring-security</a><span class="sidebar-module-list-count">3</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/categories/java/thymeleaf/">thymeleaf</a><span class="sidebar-module-list-count">2</span><ul class="sidebar-module-list-child"><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/categories/java/thymeleaf/maven/">maven</a><span class="sidebar-module-list-count">1</span></li></ul></li></ul></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/categories/jenkins/">jenkins</a><span class="sidebar-module-list-count">3</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/categories/journal/">journal</a><span class="sidebar-module-list-count">7</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/categories/js/">js</a><span class="sidebar-module-list-count">3</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/categories/linux/">linux</a><span class="sidebar-module-list-count">35</span><ul class="sidebar-module-list-child"><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/categories/linux/kde/">kde</a><span class="sidebar-module-list-count">2</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/categories/linux/kross/">kross</a><span class="sidebar-module-list-count">3</span><ul class="sidebar-module-list-child"><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/categories/linux/kross/ktorrent-scripts/">ktorrent-scripts</a><span class="sidebar-module-list-count">1</span></li></ul></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/categories/linux/shell/">shell</a><span class="sidebar-module-list-count">6</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/categories/linux/tcp/">tcp</a><span class="sidebar-module-list-count">1</span></li></ul></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/categories/lisp/">lisp</a><span class="sidebar-module-list-count">1</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/categories/mongodb/">mongodb</a><span class="sidebar-module-list-count">2</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/categories/mssql/">mssql</a><span class="sidebar-module-list-count">3</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/categories/mysql/">mysql</a><span class="sidebar-module-list-count">12</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/categories/nginx/">nginx</a><span class="sidebar-module-list-count">1</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/categories/node/">node</a><span class="sidebar-module-list-count">1</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/categories/postgresql/">postgresql</a><span class="sidebar-module-list-count">2</span><ul class="sidebar-module-list-child"><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/categories/postgresql/client/">client</a><span class="sidebar-module-list-count">1</span></li></ul></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/categories/python/">python</a><span class="sidebar-module-list-count">19</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/categories/regex/">regex</a><span class="sidebar-module-list-count">1</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/categories/rfc/">rfc</a><span class="sidebar-module-list-count">2</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/categories/vim/">vim</a><span class="sidebar-module-list-count">3</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/categories/windows/">windows</a><span class="sidebar-module-list-count">7</span></li></ul>
  </div>



  
  <div class="sidebar-module">
    <h4>Tags</h4>
    <ul class="sidebar-module-list"><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/tags/ReentrantLock/">ReentrantLock</a><span class="sidebar-module-list-count">1</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/tags/nohup/">nohup</a><span class="sidebar-module-list-count">1</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/tags/pandoc/">pandoc</a><span class="sidebar-module-list-count">1</span></li></ul>
  </div>



  
  <div class="sidebar-module">
    <h4>Tag Cloud</h4>
    <p class="tagcloud">
      <a href="/tags/ReentrantLock/" style="font-size: 10px;">ReentrantLock</a> <a href="/tags/nohup/" style="font-size: 10px;">nohup</a> <a href="/tags/pandoc/" style="font-size: 10px;">pandoc</a>
    </p>
  </div>


  
  <div class="sidebar-module">
    <h4>Archives</h4>
    <ul class="sidebar-module-list"><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/archives/2919/06/">June 2919</a><span class="sidebar-module-list-count">1</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/archives/2022/03/">March 2022</a><span class="sidebar-module-list-count">58</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/archives/2022/01/">January 2022</a><span class="sidebar-module-list-count">1</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/archives/2021/11/">November 2021</a><span class="sidebar-module-list-count">1</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/archives/2021/10/">October 2021</a><span class="sidebar-module-list-count">1</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/archives/2021/04/">April 2021</a><span class="sidebar-module-list-count">2</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/archives/2021/03/">March 2021</a><span class="sidebar-module-list-count">1</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/archives/2021/02/">February 2021</a><span class="sidebar-module-list-count">1</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/archives/2021/01/">January 2021</a><span class="sidebar-module-list-count">2</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/archives/2020/12/">December 2020</a><span class="sidebar-module-list-count">2</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/archives/2020/11/">November 2020</a><span class="sidebar-module-list-count">1</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/archives/2020/10/">October 2020</a><span class="sidebar-module-list-count">1</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/archives/2020/09/">September 2020</a><span class="sidebar-module-list-count">3</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/archives/2020/07/">July 2020</a><span class="sidebar-module-list-count">3</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/archives/2020/06/">June 2020</a><span class="sidebar-module-list-count">10</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/archives/2020/04/">April 2020</a><span class="sidebar-module-list-count">4</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/archives/2020/03/">March 2020</a><span class="sidebar-module-list-count">8</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/archives/2020/02/">February 2020</a><span class="sidebar-module-list-count">4</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/archives/2020/01/">January 2020</a><span class="sidebar-module-list-count">1</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/archives/2019/12/">December 2019</a><span class="sidebar-module-list-count">7</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/archives/2019/11/">November 2019</a><span class="sidebar-module-list-count">1</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/archives/2019/10/">October 2019</a><span class="sidebar-module-list-count">11</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/archives/2019/09/">September 2019</a><span class="sidebar-module-list-count">6</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/archives/2019/08/">August 2019</a><span class="sidebar-module-list-count">4</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/archives/2019/07/">July 2019</a><span class="sidebar-module-list-count">10</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/archives/2019/06/">June 2019</a><span class="sidebar-module-list-count">3</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/archives/2019/05/">May 2019</a><span class="sidebar-module-list-count">3</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/archives/2019/04/">April 2019</a><span class="sidebar-module-list-count">1</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/archives/2019/03/">March 2019</a><span class="sidebar-module-list-count">8</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/archives/2019/02/">February 2019</a><span class="sidebar-module-list-count">1</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/archives/2019/01/">January 2019</a><span class="sidebar-module-list-count">1</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/archives/2018/11/">November 2018</a><span class="sidebar-module-list-count">4</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/archives/2018/10/">October 2018</a><span class="sidebar-module-list-count">1</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/archives/2018/08/">August 2018</a><span class="sidebar-module-list-count">1</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/archives/2018/07/">July 2018</a><span class="sidebar-module-list-count">1</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/archives/2018/06/">June 2018</a><span class="sidebar-module-list-count">1</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/archives/2018/03/">March 2018</a><span class="sidebar-module-list-count">1</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/archives/2017/07/">July 2017</a><span class="sidebar-module-list-count">1</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/archives/2017/06/">June 2017</a><span class="sidebar-module-list-count">1</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/archives/2017/04/">April 2017</a><span class="sidebar-module-list-count">1</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/archives/2015/05/">May 2015</a><span class="sidebar-module-list-count">1</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/archives/1970/01/">January 1970</a><span class="sidebar-module-list-count">9</span></li></ul>
  </div>



  
  <div class="sidebar-module">
    <h4>Recents</h4>
    <ul class="sidebar-module-list">
      
        <li>
          <a href="/java/acessing-generic-types-at-runtime/">获取泛型类型</a>
        </li>
      
        <li>
          <a href="/linux/shell/bash_cgi/">Script for Shell Parsing Parameters</a>
        </li>
      
        <li>
          <a href="/linux/shell/shell-script/">Shell Script Getting Start</a>
        </li>
      
        <li>
          <a href="/linux/tcp/network-tcp-performance-turning-with-sysctl/">【翻译】Sysctl调节Linux网络性能</a>
        </li>
      
        <li>
          <a href="/java/concurrent/aqs-src/">AQS源码笔记</a>
        </li>
      
    </ul>
  </div>



        </div>
    </div>
  </div>
  <footer class="blog-footer">
  <div class="container">
    <div id="footer-info" class="inner">
      &copy; 2022 gdme1320<br>
      Powered by <a href="http://hexo.io/" target="_blank">Hexo</a>
    </div>
  </div>
</footer>

  

<!-- <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js" integrity="sha384-8gBf6Y4YYq7Jx97PIqmTwLPin4hxIzQw5aDmUg/DDhul9fFpbbLcLh3nTIIDJKhx" crossorigin="anonymous"></script> -->

<script src="/js/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js" integrity="sha384-0mSbJDEHialfmuBBQP6A4Qrprq5OVfW37PRR3j5ELqxss1yVqOtnepnHVP9aJ7xS" crossorigin="anonymous"></script>



<script src="/js/script.js"></script>

</body>
</html>
